﻿namespace RStudio.UIFramwork
{
    /// <summary>
    /// 
    /// </summary>
    public class HandlerUtil
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="handlerArray"></param>
        public static void BindHandler(IUIHandler[] handlerArray)
        {
            for (int i = 0; i < handlerArray.Length - 1; i++)
            {
                handlerArray[i].Next = handlerArray[i + 1];
            }
        }
    }
}
